package com.learn.micro_mall.domain.entity.coupon;

import com.learn.micro_mall.domain.vo.coupon.*;
import lombok.Data;

@Data
public class CouponEntity {

    private CouponEntityId couponEntityId;

    /**
     * 优惠券名字
     */
    private String couponName;

    /**
     * 总共发放数量
     */
    private Long totalNum;

    /**
     * 领取规则
     */
    private ReceiveRuleVO receiveRuleVO;

    /**
     * 使用门槛
     */
    private UseThresholdVO useThresholdVO;

    /**
     * 优惠内容
     */
    private DiscountsVO discountsVO;

    /**
     * 优惠券有效时间
     */
    private ValidTimeRange validTimeRange;


    public void valid() {
    }
}
